<% if (typeof scripts !== 'undefined') { %>
  <% scripts.forEach(function(script) { %>
  <script src="<%= script %>"></script>
  <% }) %>
<% } %>
</body>
</html>